export const getErr = (err = "server internal error", errCode = 500) => {
  return {
    code: errCode,
    msg: err
  }
}
export const getResult = (result: object) => {
  return {
    code: 200,
    msg: "",
    data: result
  }
}